//
//  SCTextView.h
//  Shuaiche
//
//  Created by dangshuai on 2019/4/26.
//  Copyright © 2019 zzs. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol SCTextViewDelegate <NSObject>

- (void)scTextViewDidChanged:(UITextView *)textView;

@end

@interface SCTextView : UIView

@property (nonatomic, strong) UITextView *textView;

@property (nonatomic, copy) NSString *placeHolder;
@property (nonatomic, copy) NSString *text;
@property (nonatomic, assign) IBInspectable NSInteger limitLength;

@property (nonatomic, weak) id<SCTextViewDelegate> delegate;

@end
